\hypertarget{line_8c}{}\doxysubsection{extern/libembroidery/src/geometry/line.c File Reference}
\label{line_8c}\index{extern/libembroidery/src/geometry/line.c@{extern/libembroidery/src/geometry/line.c}}
{\ttfamily \#include $<$stdio.\+h$>$}\newline
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
{\ttfamily \#include $<$math.\+h$>$}\newline
{\ttfamily \#include \char`\"{}../embroidery.\+h\char`\"{}}\newline
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{line_8c_a39cd302248c62d0f38987cf30f16f97d}{emb\+Line\+\_\+normal\+Vector}} (\mbox{\hyperlink{embroidery_8h_a62e08237073617de993166ed4a9ab085}{Emb\+Line}} line, \mbox{\hyperlink{embroidery_8h_a16fa26764453571074cb85a7574738d4}{Emb\+Vector}} $\ast$result, int \mbox{\hyperlink{arc_8c_aa06996ece460f2c55c48322923c14625}{clockwise}})
\item 
\mbox{\hyperlink{embroidery_8h_a16fa26764453571074cb85a7574738d4}{Emb\+Vector}} \mbox{\hyperlink{line_8c_abd8cab38fe28350514cf3ae8a878d11b}{emb\+Line\+\_\+to\+Vector}} (\mbox{\hyperlink{embroidery_8h_a62e08237073617de993166ed4a9ab085}{Emb\+Line}} line)
\item 
\mbox{\hyperlink{embroidery_8h_a16fa26764453571074cb85a7574738d4}{Emb\+Vector}} \mbox{\hyperlink{line_8c_af99cc85b45b6380d5e89eee1cbddafde}{emb\+Line\+\_\+intersection\+Point}} (\mbox{\hyperlink{embroidery_8h_a62e08237073617de993166ed4a9ab085}{Emb\+Line}} line1, \mbox{\hyperlink{embroidery_8h_a62e08237073617de993166ed4a9ab085}{Emb\+Line}} line2)
\end{DoxyCompactItemize}


\doxysubsubsection{Function Documentation}
\mbox{\Hypertarget{line_8c_af99cc85b45b6380d5e89eee1cbddafde}\label{line_8c_af99cc85b45b6380d5e89eee1cbddafde}} 
\index{line.c@{line.c}!embLine\_intersectionPoint@{embLine\_intersectionPoint}}
\index{embLine\_intersectionPoint@{embLine\_intersectionPoint}!line.c@{line.c}}
\doxyparagraph{\texorpdfstring{embLine\_intersectionPoint()}{embLine\_intersectionPoint()}}
{\footnotesize\ttfamily \mbox{\hyperlink{embroidery_8h_a16fa26764453571074cb85a7574738d4}{Emb\+Vector}} emb\+Line\+\_\+intersection\+Point (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a62e08237073617de993166ed4a9ab085}{Emb\+Line}}}]{line1,  }\item[{\mbox{\hyperlink{embroidery_8h_a62e08237073617de993166ed4a9ab085}{Emb\+Line}}}]{line2 }\end{DoxyParamCaption})}

\mbox{\Hypertarget{line_8c_a39cd302248c62d0f38987cf30f16f97d}\label{line_8c_a39cd302248c62d0f38987cf30f16f97d}} 
\index{line.c@{line.c}!embLine\_normalVector@{embLine\_normalVector}}
\index{embLine\_normalVector@{embLine\_normalVector}!line.c@{line.c}}
\doxyparagraph{\texorpdfstring{embLine\_normalVector()}{embLine\_normalVector()}}
{\footnotesize\ttfamily void emb\+Line\+\_\+normal\+Vector (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a62e08237073617de993166ed4a9ab085}{Emb\+Line}}}]{line,  }\item[{\mbox{\hyperlink{embroidery_8h_a16fa26764453571074cb85a7574738d4}{Emb\+Vector}} $\ast$}]{result,  }\item[{int}]{clockwise }\end{DoxyParamCaption})}

Finds the normalized vector perpendicular (clockwise) to the line given by v1-\/\texorpdfstring{$>$}{>}v2 (normal to the line) \mbox{\Hypertarget{line_8c_abd8cab38fe28350514cf3ae8a878d11b}\label{line_8c_abd8cab38fe28350514cf3ae8a878d11b}} 
\index{line.c@{line.c}!embLine\_toVector@{embLine\_toVector}}
\index{embLine\_toVector@{embLine\_toVector}!line.c@{line.c}}
\doxyparagraph{\texorpdfstring{embLine\_toVector()}{embLine\_toVector()}}
{\footnotesize\ttfamily \mbox{\hyperlink{embroidery_8h_a16fa26764453571074cb85a7574738d4}{Emb\+Vector}} emb\+Line\+\_\+to\+Vector (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a62e08237073617de993166ed4a9ab085}{Emb\+Line}}}]{line }\end{DoxyParamCaption})}

